package cn.xiaohuodui.util;

/**
 * Author :chenqisheng
 * Date   :2016-07-26 11:59.
 */
public class MathUtil {
    public static int ceil(int a, int b) {
        return a / b + ((a % b == 0) ? 0 : 1);
    }

    public static int minuteCeil(int seconds) {
        return ceil(seconds, 60);
    }
}
